<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!-- 病案打印设置 -->

<div class="easyui-layout" data-options="fit:true,border:0" style="margin-top:5px;">
	<div data-options="region:'west',title:'复印打印目的设置',collapsible:false,width:'40%'" style="border-left:0">		   
	    <div id="toolbar-MedicalRecordPrintSet" class="paddingTBL">
	        <span class="paddingB">    
	    	       目的名称 &nbsp;<input name="FPURPOSENAME" id="MedicalRecordPrintSet-name" class="easyui-textbox"/> 
	    	</span>
	    	<span>
	    		<a class="easyui-linkbutton" onclick="AddMedicalRecordPrintSet('新增')">新增</a>
	        	<a class="easyui-linkbutton" onclick="AddMedicalRecordPrintSet('修改')">修改</a>
	       	    <a class="easyui-linkbutton" onclick="deleteMedicalRecordPrintSet()">删除</a>
	    	</span>
	        

	    </div>
	    <!-- 全部申请分类 -->
	    <table id="MedicalRecordPrintSetPurposeDatagrid"></table>
    </div>
    
    <div data-options="region:'center',title:'打印分类及顺序',collapsible:false,width:'40%'">
    	<div id="MedicalRecordPrintSetPrintOrder" class="paddingTBL">
	        <span class="paddingbtn"><a class="easyui-linkbutton" onclick="SaveMedicalRecordPrintSet()">保存</a>
	        <span class="paddingbtn"></span><a class="easyui-linkbutton" onclick="cancelMedicalRecordPrintSet()">取消</a>
	        <span>
	    		<a class="easyui-linkbutton" onclick="MedicalRecordPrintSetPrintOrder_MoveLevel(0)">上移</a>
	    		<a class="easyui-linkbutton" onclick="MedicalRecordPrintSetPrintOrder_MoveLevel(1)">下移</a>
	    	</span>
	    </div>
	    <!-- 对应打印分类及顺序 -->
	    <!--  <div data-options="region:'west',split:true,collapsible:false,width:'50%'" style="padding:1px;"> 
			<table id="MedicalRecordPrintSetPrintOrder_field_datagrid"></table>
		</div>
		<div data-options="region:'center',split:true,collapsible:false,width:'50%'">
			<table id="MedicalRecordPrintSetPrintOrder_field_value_datagrid"></table>
		</div>--> 
	   <table id="MedicalRecordPrintSetPrintOrderDatagrid"></table>
    </div> 
     <div data-options="region:'east',title:'',collapsible:false,width:'25%'">
    
    </div> 
</div> 

<!-- 复印打印目的设置 -->
<div id="addMedicalRecordPrintSetPurpose-dialog" class="easyui-dialog" data-options="closed:true,width:350,height:250">
	<form id="addMedicalRecordPrintSetPurposeInfo" method="post">

		<p class="paddingTL">
		    <label>编码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
			<input name="FCODE" id='addMedicalRecordPrintSetPurposeBH' class="easyui-textbox" data-options="width:160,height:24"/>
			<span class="star-sty">*</span>
		</p>
		<p class="paddingTL">
			<label>目的名称&nbsp;</label>
			<input name="FNAME" id="addMedicalRecordPrintSetPurposeName" class="easyui-textbox" data-options="width:160,height:24"/>
		    <span class="star-sty">*</span>
		</p>
	    <p class="paddingTL">
			<label class="labelWid4">助记词&nbsp;</label>
			<input name="FZJC" id="addMedicalRecordPrintSetPurposeZjc" class="easyui-textbox" data-options="width:160,height:24"/>
		</p>
    </form>
</div> 

<!-- 打印分类及顺序-->
<div id="addMedicalRecordPrintSetOrder-dialog" class="easyui-dialog" data-options="closed:true,width:350,height:250">
	<form id="addMedicalRecordPrintSetOrderInfo" method="post"  >
	    
		<p class="paddingTL">
		    <label>分类名称&nbsp;</label>
			<input name="FORDERBH" id='addMedicalRecordPrintSetOrderFORDERBH' class="easyui-textbox" data-options="width:160,height:24"/>
			<span class="star-sty">*</span>
		</p>
		<p class="paddingTL">
			<label>&nbsp;</label>
			 &nbsp;
		  <input type="checkbox" id='addMedicalRecordPrintSetOrderAllowToPrint' name="FALLOWTOPRINT"  onclick="addMedicalRecordPrintSetOrderAllowToPrint()"/>允许打印</label>
		     &nbsp;
		    <span class="star-sty">*</span>
		</p>
		
		
    </form>
    
</div>  
 
<script type="text/javascript" src="<%=request.getContextPath()%>/js/Print/MedicalRecordPrintSet.js"></script>